package com.example.demo.service;

import com.example.demo.entity.UserEntity;

import java.util.List;

public interface UserService {

    public String getUserName();

    public int addUser(UserEntity user);

    public UserEntity getUserById(int id);
    public int deleteUserById(int id);

    public List<UserEntity> list();

    public int updateUser(UserEntity user);
}
